﻿using System;
using System.Activities.Persistence;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace TrackingStateMachine.Activities
{
    public class CustomerPersistenceParticipant : PersistenceIOParticipant
    {
        public CustomerPersistenceParticipant()
            : base(true, false)
        {
        }

        protected override void Abort()
        {
            throw new NotImplementedException();
        }

        protected override IAsyncResult BeginOnLoad(IDictionary<XName, object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state)
        {
            return base.BeginOnLoad(readWriteValues, timeout, callback, state);
        }

        protected override IAsyncResult BeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state)
        {
            return base.BeginOnSave(readWriteValues, writeOnlyValues, timeout, callback, state);
        }
    }
}
